package cn.shopifymall.request;

import java.net.Socket;

/**
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2024/2/27 0:34
 * @Version 1.0
 */
public class Request extends AbstractHttpServletRequest {
    private String method;
    private StringBuffer requestURL;
    private String protocol;
    private Socket socket;

    public Request(String method, StringBuffer requestURL, String protocol, Socket socket) {
        this.method = method;
        this.requestURL = requestURL;
        this.protocol = protocol;
        this.socket = socket;
    }

    public String getMethod() {
        return method;
    }

    public StringBuffer getRequestURL() {
        return requestURL;
    }

    public String getProtocol() {
        return protocol;
    }

    public Socket getSocket() {
        return socket;
    }
}
